package br.com.imob.solr;

import java.util.List;

import br.com.imob.model.ImobItem;

public interface SolrService {

	void deleteAllItems();
	
	void addItem( ImobItem imobItem );
	
	ImobItem selectItemById( String id );
	
	void addItems( List<ImobItem> items );
	
	List<ImobItem> selectItems( ImobItem criteria, Integer begin, Integer end );
	
	Long totalFound( ImobItem criteria );
}
